package com.taomus.mytools.simplec.generate;

import com.taomus.mytools.simplec.common.SyntaxTuple;
import com.taomus.mytools.simplec.common.Token;
import com.taomus.mytools.simplec.common.WordEnum;
import com.taomus.mytools.simplec.utils.GeneratorAdapterUtils;

public class GenStructArgs extends SyntaxTuple{
	private GeneratorAdapterUtils adapter;
	private SyntaxTuple st;
	
	public GenStructArgs(GeneratorAdapterUtils adapter, SyntaxTuple st) {
		super();
		this.setAdapter(adapter);
		this.setSt(st);
	}

	public GeneratorAdapterUtils getAdapter() {
		return adapter;
	}

	public void setAdapter(GeneratorAdapterUtils adapter) {
		this.adapter = adapter;
	}

	public SyntaxTuple getSt() {
		return st;
	}

	public void setSt(SyntaxTuple st) {
		this.st = st;
	}
	
	public WordEnum getOpcode(){
		return this.st.opcode();
	}
}
